
import { use } from "echarts/core"
import { CanvasRenderer } from 'echarts/renderers'

import { 
  GridComponent, 
  TooltipComponent, 
  LegendComponent, 
  TitleComponent ,
  ToolboxComponent
} from 'echarts/components'

import { 
  LineChart,
  BarChart, 
  PieChart 
} from 'echarts/charts'

use([  
  LineChart,
  BarChart, 
  PieChart, 
  CanvasRenderer,  
  LegendComponent, 
  TitleComponent,  
  GridComponent,  
  TooltipComponent,
  ToolboxComponent
])
